package com.demo.beans;
public class Bean2 {
    public Bean2(){
        System.out.println("调用Bean2的构造方法,创建对象");
    }
}